<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
    <head>
        <title>{% block title %}{% endblock %}</title>
        <META http-equiv=Content-Type content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="{% load media %}{% media_prefix %}css/globalstyle.css">
        <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% endblock %}">
        {% block appstyle %}{% endblock %}
        {% block extrastyle %}{% endblock %}
        {% block extrahead %}{% endblock %}
        <script type="text/javascript" src="{% media_prefix %}js/jquery.js"></script>
        {% block extrajs %}{% endblock %}
    </head>
    <body>
        <div id="user_menu">
            {% if user.is_authenticated %}
            <a href="{% url change_password %}">Смена пароля</a>|
            <A href="/logout/">Выход</A>|<b>{{ user.username }}</b>
            {% else %}
            |<A href="/login/">Вход</A>
            {% endif %}
        </div>
        <DIV id="global_menu">
            {% if indexapp %}
            {% else %}
                <a href="/">Главная</a>|
            {% endif %}
            <A href="/storage/">Склад</A>|
            {#<A href="/task/">Заявки</A>|#}
            {#<A href="/shm/">Телефоны</A>|#}
            <A href="/addressbook/index.html">Телефоны</A>|
            {#<A href="/expdev/">Экспозиция</A>|#}
            <A href="/admin/">Администрация</A>
        </DIV>
        {% block globalconteiner %}
        {% endblock %}
        <DIV id="meta">{% block meta %}{% endblock %}</DIV>
    </body>
</html>